#! /usr/bin/env python
# -*- coding:utf-8 -*-
# Author Jmz
from socket import *

client = socket(AF_INET,SOCK_STREAM)

client.connect(('127.0.0.1',8981))

client.send('adsad'.encode('utf-8'))

msg = client.recv(1024)

print(msg.decode('utf-8'))

client.close()

client.close()
